<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>bfsNet: Referencia del Archivo /Users/nicolunacba/Development/Dinic/trunk/network/network.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="bfs-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">bfsNet&#160;<span id="projectnumber">1.0</span></div>
   <div id="projectbrief">Algoritmo BFS para encontrar un camino de fuente a destino en una Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="annotated.html"><span>Estructuras&#160;de&#160;Datos</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
      <li><a href="globals.html"><span>Globales</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('network_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">'defines'</a> &#124;
<a href="#typedef-members">'typedefs'</a> &#124;
<a href="#func-members">Funciones</a>  </div>
  <div class="headertitle">
<div class="title">Referencia del Archivo /Users/nicolunacba/Development/Dinic/trunk/network/network.h</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="hashtbl_8h_source.html">hashtbl.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="node_8h_source.html">node.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="tuple_8h_source.html">tuple.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="list_8h_source.html">list.h</a>&quot;</code><br/>
</div>
<p><a href="network_8h_source.html">Ir al código fuente de este archivo.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
'defines'</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#ad523c11cc6c14336c2b130d626823826">network_source_node</a>(n)&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#aa8dcbacbbdd7bd554c467d0bf07a456e">network_trash_node</a>(n)&#160;&#160;&#160;1</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
'typedefs'</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structs_network.html">sNetwork</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#a78f5e3805d6401ebba27a8a03041a3f8">Network</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Funciones</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs_network.html">Network</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#af0a594ae08f23dbd93ff68c2f4e72f98">network_create</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#a2e032cd8fed30af6eacbaead8408c126">network_add_node</a> (<a class="el" href="structs_network.html">Network</a> net, <a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a> NodeSource, <a class="el" href="structs_tuple.html">Node_tuple</a> NodeTup)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#a7284c2b25118f29553d6ce6262f95a54">network_get_neighbours</a> (<a class="el" href="structs_network.html">Network</a> net, <a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a> NodeSource)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#aa9c38ef77dcf1df779b81eaa7f9f91ce">network_get_capacity</a> (<a class="el" href="structs_network.html">Network</a> net, <a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a> Node_s, <a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a> Node_t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs_network.html">Network</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="network_8h.html#addb9d5dc098787026bbcca671f115f27">network_destroy</a> (<a class="el" href="structs_network.html">Network</a> Net)</td></tr>
</table>
<hr/><h2>Documentación de los 'defines'</h2>
<a class="anchor" id="ad523c11cc6c14336c2b130d626823826"></a><!-- doxytag: member="network.h::network_source_node" ref="ad523c11cc6c14336c2b130d626823826" args="(n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define network_source_node</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n</td><td>)</td>
          <td>&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definición en la línea <a class="el" href="network_8h_source.html#l00010">10</a> del archivo <a class="el" href="network_8h_source.html">network.h</a>.</p>

<p>Referenciado por <a class="el" href="bfs_8h.html#ae11c689d3046a1a1cce70d6eabfdb14e">BFS_minimum_path()</a>.</p>

</div>
</div>
<a class="anchor" id="aa8dcbacbbdd7bd554c467d0bf07a456e"></a><!-- doxytag: member="network.h::network_trash_node" ref="aa8dcbacbbdd7bd554c467d0bf07a456e" args="(n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define network_trash_node</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n</td><td>)</td>
          <td>&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definición en la línea <a class="el" href="network_8h_source.html#l00013">13</a> del archivo <a class="el" href="network_8h_source.html">network.h</a>.</p>

<p>Referenciado por <a class="el" href="bfs_8h.html#ae11c689d3046a1a1cce70d6eabfdb14e">BFS_minimum_path()</a>.</p>

</div>
</div>
<hr/><h2>Documentación de los 'typedefs'</h2>
<a class="anchor" id="a78f5e3805d6401ebba27a8a03041a3f8"></a><!-- doxytag: member="network.h::Network" ref="a78f5e3805d6401ebba27a8a03041a3f8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structs_network.html">sNetwork</a>* <a class="el" href="structs_network.html">Network</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Puntero a <a class="el" href="structs_network.html">sNetwork</a> </p>

<p>Definición en la línea <a class="el" href="network_8h_source.html#l00016">16</a> del archivo <a class="el" href="network_8h_source.html">network.h</a>.</p>

</div>
</div>
<hr/><h2>Documentación de las funciones</h2>
<a class="anchor" id="a2e032cd8fed30af6eacbaead8408c126"></a><!-- doxytag: member="network.h::network_add_node" ref="a2e032cd8fed30af6eacbaead8408c126" args="(Network net, Node NodeSource, Node_tuple NodeTup)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void network_add_node </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs_network.html">Network</a>&#160;</td>
          <td class="paramname"><em>net</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a>&#160;</td>
          <td class="paramname"><em>NodeSource</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structs_tuple.html">Node_tuple</a>&#160;</td>
          <td class="paramname"><em>NodeTup</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Agrega los vecinos de la network </p>

<p>Definición en la línea <a class="el" href="network_8c_source.html#l00031">31</a> del archivo <a class="el" href="network_8c_source.html">network.c</a>.</p>

<p>Hace referencia a <a class="el" href="structs_network.html#aa774e2143f5f7d266b7849ec7a384aac">sNetwork::Hash</a>, <a class="el" href="hashtbl_8c.html#a09a188d83a55ba59116a7c301c032a68">hashtbl_get()</a>, <a class="el" href="hashtbl_8c.html#a6b2853739dee3d59dcca062d62ac4600">hashtbl_insert()</a>, <a class="el" href="hashtbl_8c.html#a460651cb9ee95096d0a37ad691b8966c">hashtbl_resize()</a>, <a class="el" href="list_8c.html#a563fa4772b82dd3c2c0f4927bcfcff8a">list_add_new_elem()</a>, <a class="el" href="list_8c.html#a92bbfe84653d1fedb6e463414d7bb109">list_create()</a>, <a class="el" href="list_8c.html#a9488cf0bffafdf9a10b591b465b47743">list_exists_elem()</a> y <a class="el" href="structs_network.html#a115584eca6ba1b29ea2428af2d665358">sNetwork::NetSize</a>.</p>

<p>Referenciado por <a class="el" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="af0a594ae08f23dbd93ff68c2f4e72f98"></a><!-- doxytag: member="network.h::network_create" ref="af0a594ae08f23dbd93ff68c2f4e72f98" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs_network.html">Network</a> network_create </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Crea la network </p>

<p>Definición en la línea <a class="el" href="network_8c_source.html#l00017">17</a> del archivo <a class="el" href="network_8c_source.html">network.c</a>.</p>

<p>Hace referencia a <a class="el" href="structs_network.html#aa774e2143f5f7d266b7849ec7a384aac">sNetwork::Hash</a>, <a class="el" href="hashtbl_8c.html#aa7e342f8612905f6d59e444d82b52954">hashtbl_create()</a> y <a class="el" href="structs_network.html#a115584eca6ba1b29ea2428af2d665358">sNetwork::NetSize</a>.</p>

<p>Referenciado por <a class="el" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="addb9d5dc098787026bbcca671f115f27"></a><!-- doxytag: member="network.h::network_destroy" ref="addb9d5dc098787026bbcca671f115f27" args="(Network Net)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs_network.html">Network</a> network_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs_network.html">Network</a>&#160;</td>
          <td class="paramname"><em>Net</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destruye un Network </p>

<p>Definición en la línea <a class="el" href="network_8c_source.html#l00108">108</a> del archivo <a class="el" href="network_8c_source.html">network.c</a>.</p>

<p>Hace referencia a <a class="el" href="structs_network.html#aa774e2143f5f7d266b7849ec7a384aac">sNetwork::Hash</a> y <a class="el" href="hashtbl_8c.html#a4c57259cd505c293809adf10fa98cd7a">hashtbl_destroy()</a>.</p>

<p>Referenciado por <a class="el" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="aa9c38ef77dcf1df779b81eaa7f9f91ce"></a><!-- doxytag: member="network.h::network_get_capacity" ref="aa9c38ef77dcf1df779b81eaa7f9f91ce" args="(Network net, Node Node_s, Node Node_t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long int network_get_capacity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs_network.html">Network</a>&#160;</td>
          <td class="paramname"><em>net</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a>&#160;</td>
          <td class="paramname"><em>Node_s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a>&#160;</td>
          <td class="paramname"><em>Node_t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Devuelve la capacidad de la aristra entre dos nodos </p>

<p>Definición en la línea <a class="el" href="network_8c_source.html#l00082">82</a> del archivo <a class="el" href="network_8c_source.html">network.c</a>.</p>

<p>Hace referencia a <a class="el" href="structs_network.html#aa774e2143f5f7d266b7849ec7a384aac">sNetwork::Hash</a>, <a class="el" href="hashtbl_8c.html#a09a188d83a55ba59116a7c301c032a68">hashtbl_get()</a>, <a class="el" href="list_8c.html#a485ab244d725fddf0f2bc2e263250756">list_get_elem()</a>, <a class="el" href="list_8c.html#ac717ae40c94d5cb0fdbe46e08f2c639e">list_get_size()</a>, <a class="el" href="tuple_8c.html#af8c1a0758eeec0c5b89e0ddd9ea7cf52">tuple_destroy()</a>, <a class="el" href="tuple_8c.html#aa348d967e695d93a7ffa0169b3baa475">tuple_fst()</a> y <a class="el" href="tuple_8c.html#af79fbe5f09e6ffcc071d3990ddf3f25e">tuple_snd()</a>.</p>

<p>Referenciado por <a class="el" href="bfs_8h.html#ae11c689d3046a1a1cce70d6eabfdb14e">BFS_minimum_path()</a>.</p>

</div>
</div>
<a class="anchor" id="a7284c2b25118f29553d6ce6262f95a54"></a><!-- doxytag: member="network.h::network_get_neighbours" ref="a7284c2b25118f29553d6ce6262f95a54" args="(Network net, Node NodeSource)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a>* network_get_neighbours </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs_network.html">Network</a>&#160;</td>
          <td class="paramname"><em>net</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="node_8h.html#a2f03a3e2ce8013d3b71182d9cafca989">Node</a>&#160;</td>
          <td class="paramname"><em>NodeSource</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Devuelve una arreglo de nodos con los vecinos de NodeSource</p>
<p>Devuelve una lista de tuplas con los vecinos de NodeSource </p>

<p>Definición en la línea <a class="el" href="network_8c_source.html#l00054">54</a> del archivo <a class="el" href="network_8c_source.html">network.c</a>.</p>

<p>Hace referencia a <a class="el" href="structs_network.html#aa774e2143f5f7d266b7849ec7a384aac">sNetwork::Hash</a>, <a class="el" href="hashtbl_8c.html#a09a188d83a55ba59116a7c301c032a68">hashtbl_get()</a>, <a class="el" href="list_8c.html#a485ab244d725fddf0f2bc2e263250756">list_get_elem()</a>, <a class="el" href="list_8c.html#ac717ae40c94d5cb0fdbe46e08f2c639e">list_get_size()</a> y <a class="el" href="tuple_8c.html#aa348d967e695d93a7ffa0169b3baa475">tuple_fst()</a>.</p>

<p>Referenciado por <a class="el" href="bfs_8h.html#ae11c689d3046a1a1cce70d6eabfdb14e">BFS_minimum_path()</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="network_8h.html">network.h</a>      </li>
      <li class="footer">Generado el Miércoles, 13 de Abril de 2011 20:34:14 para bfsNet por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Estructuras de Datos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;typedefs&apos;</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
